package networking.messages;


public class TimeSyncMessage extends SimpleMessage {
	
	public enum TimeType { Game, End, Spawn }
	
	private int time;
	private TimeType type;
	
	public TimeSyncMessage() {
		super();
	}
	
	public TimeSyncMessage(int time, TimeType type) {
		this();
		this.time = time;
		this.type = type;
	}
	
	public int getTime() { return time; }
	
	public TimeType getType() { return type; }
}